package com.study.talk.netty.message.request;


import com.study.talk.netty.message.MessageType;
import com.study.talk.netty.message.TalkMessage;

public class SmsSendRequest extends TalkMessage {

    private String phoneNumber;

    private String username;

    public SmsSendRequest(String username,String phoneNumber) {
        this.phoneNumber = phoneNumber;
        this.username = username;
    }

    public SmsSendRequest() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    @Override
    public byte getType() {
        return MessageType.SEND_SMS_REQUEST;
    }
}
